<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>循环遍历Map集合</title>
</head>
<body>
<!--

-->
<div th:each="userMap,userMapStat:${userMaps}">
    从0开始：<span th:text="${userMapStat.index}"></span>
    从1开始：<span th:text="${userMapStat.count}"></span>
    集合属性编号：<span th:text="${userMap.key}"></span>
    集合属性值：<span th:text="${userMap.value}"></span>
    用户号码：<span th:text="${userMap.value.phone}"></span>
    用户别名：<span th:text="${userMap.value.nick}"></span>
</div><br/><br/>




</body>
</html>